package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class BooksExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public BooksExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBnoIsNull() {
            addCriterion("bno is null");
            return (Criteria) this;
        }

        public Criteria andBnoIsNotNull() {
            addCriterion("bno is not null");
            return (Criteria) this;
        }

        public Criteria andBnoEqualTo(String value) {
            addCriterion("bno =", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotEqualTo(String value) {
            addCriterion("bno <>", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoGreaterThan(String value) {
            addCriterion("bno >", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoGreaterThanOrEqualTo(String value) {
            addCriterion("bno >=", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLessThan(String value) {
            addCriterion("bno <", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLessThanOrEqualTo(String value) {
            addCriterion("bno <=", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoLike(String value) {
            addCriterion("bno like", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotLike(String value) {
            addCriterion("bno not like", value, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoIn(List<String> values) {
            addCriterion("bno in", values, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotIn(List<String> values) {
            addCriterion("bno not in", values, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoBetween(String value1, String value2) {
            addCriterion("bno between", value1, value2, "bno");
            return (Criteria) this;
        }

        public Criteria andBnoNotBetween(String value1, String value2) {
            addCriterion("bno not between", value1, value2, "bno");
            return (Criteria) this;
        }

        public Criteria andAnoIsNull() {
            addCriterion("ano is null");
            return (Criteria) this;
        }

        public Criteria andAnoIsNotNull() {
            addCriterion("ano is not null");
            return (Criteria) this;
        }

        public Criteria andAnoEqualTo(String value) {
            addCriterion("ano =", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotEqualTo(String value) {
            addCriterion("ano <>", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThan(String value) {
            addCriterion("ano >", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThanOrEqualTo(String value) {
            addCriterion("ano >=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThan(String value) {
            addCriterion("ano <", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThanOrEqualTo(String value) {
            addCriterion("ano <=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLike(String value) {
            addCriterion("ano like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotLike(String value) {
            addCriterion("ano not like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoIn(List<String> values) {
            addCriterion("ano in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotIn(List<String> values) {
            addCriterion("ano not in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoBetween(String value1, String value2) {
            addCriterion("ano between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotBetween(String value1, String value2) {
            addCriterion("ano not between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNull() {
            addCriterion("prno is null");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNotNull() {
            addCriterion("prno is not null");
            return (Criteria) this;
        }

        public Criteria andPrnoEqualTo(String value) {
            addCriterion("prno =", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotEqualTo(String value) {
            addCriterion("prno <>", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThan(String value) {
            addCriterion("prno >", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThanOrEqualTo(String value) {
            addCriterion("prno >=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThan(String value) {
            addCriterion("prno <", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThanOrEqualTo(String value) {
            addCriterion("prno <=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLike(String value) {
            addCriterion("prno like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotLike(String value) {
            addCriterion("prno not like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoIn(List<String> values) {
            addCriterion("prno in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotIn(List<String> values) {
            addCriterion("prno not in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoBetween(String value1, String value2) {
            addCriterion("prno between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotBetween(String value1, String value2) {
            addCriterion("prno not between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andBknoIsNull() {
            addCriterion("bkno is null");
            return (Criteria) this;
        }

        public Criteria andBknoIsNotNull() {
            addCriterion("bkno is not null");
            return (Criteria) this;
        }

        public Criteria andBknoEqualTo(String value) {
            addCriterion("bkno =", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoNotEqualTo(String value) {
            addCriterion("bkno <>", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoGreaterThan(String value) {
            addCriterion("bkno >", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoGreaterThanOrEqualTo(String value) {
            addCriterion("bkno >=", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoLessThan(String value) {
            addCriterion("bkno <", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoLessThanOrEqualTo(String value) {
            addCriterion("bkno <=", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoLike(String value) {
            addCriterion("bkno like", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoNotLike(String value) {
            addCriterion("bkno not like", value, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoIn(List<String> values) {
            addCriterion("bkno in", values, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoNotIn(List<String> values) {
            addCriterion("bkno not in", values, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoBetween(String value1, String value2) {
            addCriterion("bkno between", value1, value2, "bkno");
            return (Criteria) this;
        }

        public Criteria andBknoNotBetween(String value1, String value2) {
            addCriterion("bkno not between", value1, value2, "bkno");
            return (Criteria) this;
        }

        public Criteria andBnameIsNull() {
            addCriterion("bName is null");
            return (Criteria) this;
        }

        public Criteria andBnameIsNotNull() {
            addCriterion("bName is not null");
            return (Criteria) this;
        }

        public Criteria andBnameEqualTo(String value) {
            addCriterion("bName =", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameNotEqualTo(String value) {
            addCriterion("bName <>", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameGreaterThan(String value) {
            addCriterion("bName >", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameGreaterThanOrEqualTo(String value) {
            addCriterion("bName >=", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameLessThan(String value) {
            addCriterion("bName <", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameLessThanOrEqualTo(String value) {
            addCriterion("bName <=", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameLike(String value) {
            addCriterion("bName like", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameNotLike(String value) {
            addCriterion("bName not like", value, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameIn(List<String> values) {
            addCriterion("bName in", values, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameNotIn(List<String> values) {
            addCriterion("bName not in", values, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameBetween(String value1, String value2) {
            addCriterion("bName between", value1, value2, "bname");
            return (Criteria) this;
        }

        public Criteria andBnameNotBetween(String value1, String value2) {
            addCriterion("bName not between", value1, value2, "bname");
            return (Criteria) this;
        }

        public Criteria andBdateIsNull() {
            addCriterion("bDate is null");
            return (Criteria) this;
        }

        public Criteria andBdateIsNotNull() {
            addCriterion("bDate is not null");
            return (Criteria) this;
        }

        public Criteria andBdateEqualTo(String value) {
            addCriterion("bDate =", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateNotEqualTo(String value) {
            addCriterion("bDate <>", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateGreaterThan(String value) {
            addCriterion("bDate >", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateGreaterThanOrEqualTo(String value) {
            addCriterion("bDate >=", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateLessThan(String value) {
            addCriterion("bDate <", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateLessThanOrEqualTo(String value) {
            addCriterion("bDate <=", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateLike(String value) {
            addCriterion("bDate like", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateNotLike(String value) {
            addCriterion("bDate not like", value, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateIn(List<String> values) {
            addCriterion("bDate in", values, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateNotIn(List<String> values) {
            addCriterion("bDate not in", values, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateBetween(String value1, String value2) {
            addCriterion("bDate between", value1, value2, "bdate");
            return (Criteria) this;
        }

        public Criteria andBdateNotBetween(String value1, String value2) {
            addCriterion("bDate not between", value1, value2, "bdate");
            return (Criteria) this;
        }

        public Criteria andBauthorIsNull() {
            addCriterion("bAuthor is null");
            return (Criteria) this;
        }

        public Criteria andBauthorIsNotNull() {
            addCriterion("bAuthor is not null");
            return (Criteria) this;
        }

        public Criteria andBauthorEqualTo(String value) {
            addCriterion("bAuthor =", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorNotEqualTo(String value) {
            addCriterion("bAuthor <>", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorGreaterThan(String value) {
            addCriterion("bAuthor >", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorGreaterThanOrEqualTo(String value) {
            addCriterion("bAuthor >=", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorLessThan(String value) {
            addCriterion("bAuthor <", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorLessThanOrEqualTo(String value) {
            addCriterion("bAuthor <=", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorLike(String value) {
            addCriterion("bAuthor like", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorNotLike(String value) {
            addCriterion("bAuthor not like", value, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorIn(List<String> values) {
            addCriterion("bAuthor in", values, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorNotIn(List<String> values) {
            addCriterion("bAuthor not in", values, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorBetween(String value1, String value2) {
            addCriterion("bAuthor between", value1, value2, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBauthorNotBetween(String value1, String value2) {
            addCriterion("bAuthor not between", value1, value2, "bauthor");
            return (Criteria) this;
        }

        public Criteria andBpriceIsNull() {
            addCriterion("bPrice is null");
            return (Criteria) this;
        }

        public Criteria andBpriceIsNotNull() {
            addCriterion("bPrice is not null");
            return (Criteria) this;
        }

        public Criteria andBpriceEqualTo(String value) {
            addCriterion("bPrice =", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceNotEqualTo(String value) {
            addCriterion("bPrice <>", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceGreaterThan(String value) {
            addCriterion("bPrice >", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceGreaterThanOrEqualTo(String value) {
            addCriterion("bPrice >=", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceLessThan(String value) {
            addCriterion("bPrice <", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceLessThanOrEqualTo(String value) {
            addCriterion("bPrice <=", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceLike(String value) {
            addCriterion("bPrice like", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceNotLike(String value) {
            addCriterion("bPrice not like", value, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceIn(List<String> values) {
            addCriterion("bPrice in", values, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceNotIn(List<String> values) {
            addCriterion("bPrice not in", values, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceBetween(String value1, String value2) {
            addCriterion("bPrice between", value1, value2, "bprice");
            return (Criteria) this;
        }

        public Criteria andBpriceNotBetween(String value1, String value2) {
            addCriterion("bPrice not between", value1, value2, "bprice");
            return (Criteria) this;
        }

        public Criteria andBdescribeIsNull() {
            addCriterion("bDescribe is null");
            return (Criteria) this;
        }

        public Criteria andBdescribeIsNotNull() {
            addCriterion("bDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andBdescribeEqualTo(String value) {
            addCriterion("bDescribe =", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeNotEqualTo(String value) {
            addCriterion("bDescribe <>", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeGreaterThan(String value) {
            addCriterion("bDescribe >", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeGreaterThanOrEqualTo(String value) {
            addCriterion("bDescribe >=", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeLessThan(String value) {
            addCriterion("bDescribe <", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeLessThanOrEqualTo(String value) {
            addCriterion("bDescribe <=", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeLike(String value) {
            addCriterion("bDescribe like", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeNotLike(String value) {
            addCriterion("bDescribe not like", value, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeIn(List<String> values) {
            addCriterion("bDescribe in", values, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeNotIn(List<String> values) {
            addCriterion("bDescribe not in", values, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeBetween(String value1, String value2) {
            addCriterion("bDescribe between", value1, value2, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBdescribeNotBetween(String value1, String value2) {
            addCriterion("bDescribe not between", value1, value2, "bdescribe");
            return (Criteria) this;
        }

        public Criteria andBnumberIsNull() {
            addCriterion("bNumber is null");
            return (Criteria) this;
        }

        public Criteria andBnumberIsNotNull() {
            addCriterion("bNumber is not null");
            return (Criteria) this;
        }

        public Criteria andBnumberEqualTo(String value) {
            addCriterion("bNumber =", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberNotEqualTo(String value) {
            addCriterion("bNumber <>", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberGreaterThan(String value) {
            addCriterion("bNumber >", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberGreaterThanOrEqualTo(String value) {
            addCriterion("bNumber >=", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberLessThan(String value) {
            addCriterion("bNumber <", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberLessThanOrEqualTo(String value) {
            addCriterion("bNumber <=", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberLike(String value) {
            addCriterion("bNumber like", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberNotLike(String value) {
            addCriterion("bNumber not like", value, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberIn(List<String> values) {
            addCriterion("bNumber in", values, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberNotIn(List<String> values) {
            addCriterion("bNumber not in", values, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberBetween(String value1, String value2) {
            addCriterion("bNumber between", value1, value2, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBnumberNotBetween(String value1, String value2) {
            addCriterion("bNumber not between", value1, value2, "bnumber");
            return (Criteria) this;
        }

        public Criteria andBheatIsNull() {
            addCriterion("bHeat is null");
            return (Criteria) this;
        }

        public Criteria andBheatIsNotNull() {
            addCriterion("bHeat is not null");
            return (Criteria) this;
        }

        public Criteria andBheatEqualTo(String value) {
            addCriterion("bHeat =", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatNotEqualTo(String value) {
            addCriterion("bHeat <>", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatGreaterThan(String value) {
            addCriterion("bHeat >", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatGreaterThanOrEqualTo(String value) {
            addCriterion("bHeat >=", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatLessThan(String value) {
            addCriterion("bHeat <", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatLessThanOrEqualTo(String value) {
            addCriterion("bHeat <=", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatLike(String value) {
            addCriterion("bHeat like", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatNotLike(String value) {
            addCriterion("bHeat not like", value, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatIn(List<String> values) {
            addCriterion("bHeat in", values, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatNotIn(List<String> values) {
            addCriterion("bHeat not in", values, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatBetween(String value1, String value2) {
            addCriterion("bHeat between", value1, value2, "bheat");
            return (Criteria) this;
        }

        public Criteria andBheatNotBetween(String value1, String value2) {
            addCriterion("bHeat not between", value1, value2, "bheat");
            return (Criteria) this;
        }

        public Criteria andBimgIsNull() {
            addCriterion("bImg is null");
            return (Criteria) this;
        }

        public Criteria andBimgIsNotNull() {
            addCriterion("bImg is not null");
            return (Criteria) this;
        }

        public Criteria andBimgEqualTo(String value) {
            addCriterion("bImg =", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgNotEqualTo(String value) {
            addCriterion("bImg <>", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgGreaterThan(String value) {
            addCriterion("bImg >", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgGreaterThanOrEqualTo(String value) {
            addCriterion("bImg >=", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgLessThan(String value) {
            addCriterion("bImg <", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgLessThanOrEqualTo(String value) {
            addCriterion("bImg <=", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgLike(String value) {
            addCriterion("bImg like", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgNotLike(String value) {
            addCriterion("bImg not like", value, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgIn(List<String> values) {
            addCriterion("bImg in", values, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgNotIn(List<String> values) {
            addCriterion("bImg not in", values, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgBetween(String value1, String value2) {
            addCriterion("bImg between", value1, value2, "bimg");
            return (Criteria) this;
        }

        public Criteria andBimgNotBetween(String value1, String value2) {
            addCriterion("bImg not between", value1, value2, "bimg");
            return (Criteria) this;
        }

        public Criteria andBstateIsNull() {
            addCriterion("bState is null");
            return (Criteria) this;
        }

        public Criteria andBstateIsNotNull() {
            addCriterion("bState is not null");
            return (Criteria) this;
        }

        public Criteria andBstateEqualTo(Integer value) {
            addCriterion("bState =", value, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateNotEqualTo(Integer value) {
            addCriterion("bState <>", value, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateGreaterThan(Integer value) {
            addCriterion("bState >", value, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("bState >=", value, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateLessThan(Integer value) {
            addCriterion("bState <", value, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateLessThanOrEqualTo(Integer value) {
            addCriterion("bState <=", value, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateIn(List<Integer> values) {
            addCriterion("bState in", values, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateNotIn(List<Integer> values) {
            addCriterion("bState not in", values, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateBetween(Integer value1, Integer value2) {
            addCriterion("bState between", value1, value2, "bstate");
            return (Criteria) this;
        }

        public Criteria andBstateNotBetween(Integer value1, Integer value2) {
            addCriterion("bState not between", value1, value2, "bstate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}